<template>
    <!-- 分子公司汇总评价 -->
    <div class="e-table">
        <el-table
            ref="multipleTable"
            :data="subDtlList"
            tooltip-effect="dark"
            show-summary
            style="width: 100%"
            class="table"
            :max-height="$store.state.tableHeight"
            :header-cell-style="{ textAlign: 'center' }"
            :cell-style="{ textAlign: 'center' }"
            v-sortTable="{
                tableData: subDtlList,
                _this: this,
                ref: 'multipleTable'
            }"
        >
            <el-table-column type="selection" width="50"> </el-table-column>
            <el-table-column label="序号" width="50"> </el-table-column>
            <el-table-column
                prop="outerName"
                label="供应商名称"
                min-width="300"
            >
                <template slot-scope="scope">
                    <span
                        @click="articulars(scope.row.dtlId)"
                        style="color: blue; cursor: pointer"
                    >
                        {{ scope.row.outerName }}
                    </span>
                </template>
            </el-table-column>
            <el-table-column label="A:100-90" width="150"> </el-table-column>
            <el-table-column prop="evaluateSocre" label="B:89-75" width="150">
            </el-table-column>
            <el-table-column
                prop="evaluateTotalSocre"
                label="C:74-60"
                width="200"
                show-overflow-tooltip
            >
            </el-table-column>
            <el-table-column
                prop="evaluateGrade"
                label="D:60以下"
                width="250"
                show-overflow-tooltip
            >
            </el-table-column>
            <el-table-column
                v-if="Newkey != '1'"
                prop="evaluateOpinion"
                label="分子公司评价等级"
                width="150"
                show-overflow-tooltip
            >
            </el-table-column>
            <el-table-column
                prop="evaluateOpinion"
                label="集团评价等级"
                width="150"
                show-overflow-tooltip
            >
            </el-table-column>
            <el-table-column
                prop="evaluateOpinion"
                label="评价意见"
                width="150"
                show-overflow-tooltip
            >
            </el-table-column>
        </el-table>
    </div>
</template>
<script>
export default {
    props: {
        Newkey: {
            type: String
        }
    },
    data () {
        return {
            subDtlList: [] //分包商汇总明细
        }
    },
    created () {
        console.log(1111, this.Newkey)
    }
}
</script>
